package com.huaxiafinance.management.model;

import java.util.Date;

public class SendMessageSeller {
	private Integer id;

	private String cellphone;

	private String type;

	private String code;

	private Date sendAt;

	private Date updatedAt;

	private Integer times;

	public SendMessageSeller() {
	}

	public SendMessageSeller(String code, String type, int id, Date sendAt, Date updatedAt, int times) {
		this.code = code;
		this.type = type;
		this.id = id;
		this.sendAt = sendAt;
		this.updatedAt = updatedAt;
		this.times = times;
	}

	public SendMessageSeller(String code, String cellphone, String type) {
		this.code = code;
		this.cellphone = cellphone;
		this.times = 1;
		this.type = type;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone == null ? null : cellphone.trim();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code == null ? null : code.trim();
	}

	public Date getSendAt() {
		return sendAt;
	}

	public void setSendAt(Date sendAt) {
		this.sendAt = sendAt;
	}

	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	public Integer getTimes() {
		return times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}
}